function func() {
    
}

function changepage(iconsrc,loginname,contents){
    try{
     avitoricon.source = iconsrc;
        userloginname.text = loginname ;
        contenttext.text = contents;
    }
    catch(e){
        console.log("error :"+e);

    }
    appWindow.pageStack.push(coments);
}
function openFile(file) {
    var component = Qt.createComponent(file)

    if (component.status === Component.Ready)
        pageStack.push(component);
    else
        console.log("Error loading component:", component.errorString());
}
